home *** CD-ROM | disk | FTP | other *** search
- Path: isonews.bbn.hp.com!hpbblb!news
- From: Matthias Dittrich <matti>
- Newsgroups: comp.lang.c
- Subject: Re: String Encryption
- Date: 22 Feb 1996 13:11:26 GMT
- Organization: Hewlett-Packard Co.
- Message-ID: <4ghq1u$sed@hpbblb.bbn.hp.com>
- References: <1996Feb21.101532.15110@es.dupont.com> <1996Feb21.174407.20730@newshost.micro.ti.com>
- NNTP-Posting-Host: trabant.bbn.hp.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.1N (X11; I; HP-UX A.09.07 9000/712)
- X-URL: news:1996Feb21.174407.20730@newshost.micro.ti.com
-
- brett@racerx.micro.ti.com (Brett L. Huber) wrote:
- >Malcolm Smart (MALCOLM.SMART@CONOCO.DUPONT.COM) wrote:
- >> Has anybody out there got any small routines that I can apply to strings
- >> which will effectively encrypt them (and decrypt!). It's not a matter of
- >> state security so it doesn't have to be that secure, just make it
- >> unreadable.
- >
- >It really depends on what level of "unreadability" you want. Who are
- >you protecting the data from? If you aren't protecting a secret, try
- >"rot13," which translates A->N, B->O, ... Z->M.
- >
- >For an introduction to cryptographic techniques, try the sci.crypt FAQ:
- >http://www.cis.ohio-state.edu/hypertext/faq/bngusenet/sci/crypt/top.html
- >
- > ...
- You also can use the crypt() function (see man 3 crypt).
-
- Good luck,
- Matthias
-
-